<div class="<?php echo $this->class ?>">
	<?php if(!empty($this->title)): ?>
		<h3><?php echo $this->title ?></h3>
	<?php endif; ?>
	<div class="gallery-inner-box">
		<ul>
			<?php foreach($this->images AS $image): ?>
			<li><a <?php echo $this->onclick ?> href="<?php echo $this->hrefAlbum ?>"><?php echo $image['image'] ?></a></li>
			<?php endforeach; ?>
		</ul>
		<div style="clear:both;"></div>
	</div>
	<div class="gallery-album-link"><?php echo $this->albumLink ?></div>
</div>